package la.iok.hzsvn.lewin.movie.model;

public class ClueCardParam {
    /**
     * 线索类型,pic-图片线索卡;vid-视频线索;aud-音频线索
     */
    private String type;
    /**
     * 线索卡名称
     */
    private String name;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public boolean validType(){
        return typePic() || typeVideo() || typeAudio();
    }
    public boolean typePic(){
        return "pic".equals(type);
    }
    public boolean typeVideo(){
        return "vid".equals(type);
    }
    public boolean typeAudio(){
        return "aud".equals(type);
    }
}
